/*
 * ExploreBehavior.cc
 *
 */

#include "ExploreBehavior.hh"

ExploreBehavior::ExploreBehavior(const sense::State& s,
		const sense::Environment& e, sense::Command& c, std::string cf) :
	BehaviorSafe(s, e, c, cf) {

	// Read parameters from configuration file
	util::ConfigFile conf(cf);

}

void ExploreBehavior::actSafe() {
	std::cout << "EXPLORE"  << std::endl;
	
	for(std::list<camera::Number>::const_iterator i=state.numbers.begin(); i != state.numbers.end(); ++i) 
	  {
	    camera::Number num = *i;
	    std::cout << "Visto numero " << num.number <<std::endl;
	  }
	  
	stayInTheMiddle();
	
	return;
}
